package com.ffyc.resale.model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class User extends Account implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private Integer age;
    private String gender;
    private String email;
    private String password;
    /** 头像 */
    private String avatar;
    /** 角色标识 */
    @TableField(exist = false)
    private String role;
    @TableField(exist = false)
    private int currentPage;
    @TableField(exist = false)
    private int pageSize;
    @TableField(exist = false)
    private int total;
    @TableField(exist = false)
    private String searchQuery;
    @TableField(exist = false)
    private String userToken;
    @TableField(exist = false)
    private List<Goods> list;
}
